package com.wlyuan.open.scanner.repository;


import com.wlyuan.open.scanner.dao.entity.ExtensionDO;
import com.wlyuan.open.scanner.domain.extension.Extension;

import java.util.List;

/**
 * @author lijing
 * @description
 */
public interface ExtensionRepository {

    /**
     * 同步
     */
    void sync();

    /**
     * 增量
     *
     * @param extensionId
     * @return
     */
    Extension getById(Long extensionId);

    List<Long> getByTime(String startTime, String endTime);

    void process(ExtensionDO data);

}
